#ifndef COMMON_H
#define COMMON_H

#define WEATHER_URL "http://v1.yiketianqi.com/api?unescape=1&version=v91&appid=%1&appsecret=%2&ext=&cityid="
//%1-APPID  %2-APPSECRET
#define APPID "98835284"
#define APPSECRET "9JkULdIo"

#define MAP_URL "https://api.map.baidu.com/staticimage/v2?ak=%1&width=500&height=300&zoom=%2&scale=2&center=%3,%4"
//%1-AK  %2-地图级别  %3-经度  %4-维度
#define MAP_AK "JzK0hAeCY1IJfaMGXNKjttSZI0ltKLS3"

#define MAP_URL_IP "https://api.map.baidu.com/location/ip?ip=%1&coor=bd09ll&ak=%2"
//%1-IP地址  %2-AK
#define MAP_IP "183.223.222.48"

#endif // COMMON_H
